﻿namespace UCSD_BioLit
{
    #region Namespace

    using System;
    using Microsoft.Office.Interop.Word;

    #endregion

    /// <summary>
    /// Event data for context menu term recognition events.
    /// </summary>
    public class TermRecognitionEventArgs : EventArgs
    {
        /// <summary>
        /// Gets or sets the Selected Text.
        /// </summary>
        public string SelectedText
        { 
            get; set; 
        }

        /// <summary>
        /// Gets or sets the Range of the current selection.
        /// </summary>
        public Range SelectionRange
        { 
            get; set; 
        }

        /// <summary>
        /// Gets or sets the current cursor position.
        /// </summary>
        public int CursorPosition
        { 
            get; set; 
        }

        /// <summary>
        /// Gets or sets a value indicating whether user selected a specific range of text.
        /// </summary>
        public bool IsSelection
        { 
            get; set; 
        }
    }
}
